package main

import (
	"log"
	"net/http"
)

func main() {
	urls := []string{"https://news.ycombinator.com", "http://programming.reddit.com"}
	// START OMIT
	for _, url := range urls {
		resp, err := http.Get(url)
		if err != nil {
			log.Fatal(err)
		}
		log.Printf("%q: %s", resp.Status, url)
	}
	// STOP OMIT
}
